﻿<%--<%@ Page Language="C#" AutoEventWireup="true" CodeFile="T0001996_SummaryReport.aspx.cs" Inherits="QualityControl_T0001996_SummaryReport" %>--%>

<%@ Page Title="T0001996 Test Summary Report" Language="C#" MasterPageFile="~/site.master"  AutoEventWireup="true" CodeFile="T0001996_SummaryReport.aspx.cs" Inherits="QualityControl_T0001996_SummaryReport" %>
<asp:Content ID="Content1" ContentPlaceHolderID="headContent" Runat="Server">
    <style type="text/css">
          .mr
       {
           margin-right:549px   /*右边距*/
       } 
            .breadcrumbcss
       {
           width:1054px;
           margin:20px auto;
       }
            .foodermargin
    {     
    margin:50px auto 0 auto;
     }
    </style>
    <link href="../CSS/bootstrap.css" rel="stylesheet" />
    <link href="../CSS/bootstrap.min.css" rel="stylesheet" />
    <link href="../CSS/allcommonstyle.css" rel="stylesheet" />
      <script src="../js/jquery-1.8.3.min.js" type="text/javascript"></script>
    <script src="../js/bootstrap.min.js" type="text/javascript"></script>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" Runat="Server">
    <div class="breadcrumbcss">
      <ol class="breadcrumb ">           
            <li><a href="../MainHtml.aspx">首页</a></li>
            <li><a href="CPKList.aspx">QC检验</a></li>	
		     <li><a href="T0001996_SummaryReport.aspx" class="active">T0001996 Test Summary Report</a></li>
        </ol>
        </div>
         <h4 class="headtitle">T0001996 Test Summary Report</h4>
          <div id="formdiv1"  class="form-horizontal">
         <div style="margin:20px auto; width:1109px;clear:both;" class="form-group">
              
                   <label class="col-sm-2 control-label" style="margin-left:220px"  >请选择CPK的测试类型：</label>

        <asp:DropDownList ID="DropDownList1" runat="server" Width="150px" CssClass="mr" >
            <asp:ListItem>第一次测试CPK</asp:ListItem>
            <asp:ListItem>最后一次测试CPK</asp:ListItem>
             </asp:DropDownList>
            </div>         
     </div>
        
    
     <div style="margin:20px auto;width:1251px;"  > 
        <div id="formdiv"  class="form-horizontal">
           <div class="form-group" style="float:left;margin-left:230px; width: 397px;">
          <label  class="col-sm-2 control-label"  >请输入起始SN:</label>
               <asp:TextBox ID="TextBox1" runat="server" Width="171px"></asp:TextBox>
           </div>
            <div class="form-group"style="float:left;margin-right:20px">
              <label  class="col-sm-2 control-label"  >请输入终止SN:</label><asp:TextBox ID="TextBox2" runat="server" Width="178px"></asp:TextBox>
         </div>
                  <div style="width:111px; float:right;margin-right:103px;">
         <asp:Button ID="Check" runat="server"  Text="查  询" OnClick="Check_Click" CssClass="bluebuttoncss" Height="26px" Width="76px" /></div>   
     </div> 
         <%--  <div style="clear:both"></div> --%>       
      </div>             
     
       
    
    <div style="text-align:center;margin:80px auto 10px auto;width:770px;">
        <asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False" EnableModelValidation="True" AllowSorting="True" HorizontalAlign="Center" OnSorting="GridView1_Sorting" OnRowDataBound="GridView1_RowDataBound" Width="770px" AllowPaging="True">
            <Columns>
                <asp:BoundField DataField="ReportingTestName" HeaderText="Test Name" />
                <asp:TemplateField HeaderText="Measurement Name">
                    <ItemTemplate>
                        <asp:HyperLink ID="HyperLink1" runat="server" 
                           NavigateUrl='<%# String.Format("~/QualityControl/T0001996_CPKbyDT.aspx?MeasurementName={0}",Server.UrlEncode( Eval("ReportingMeasurementName").ToString()))%>' 
                            Text='<%# Eval("ReportingMeasurementName") %>'></asp:HyperLink>
                    </ItemTemplate>
                </asp:TemplateField>
                <asp:BoundField DataField="CpkValue" HeaderText="Cpk" SortExpression="CpkValue" />
                <asp:BoundField DataField="FailedCount" HeaderText="Units Failed" SortExpression="FailedCount" />
                <asp:BoundField DataField="FailedRate" HeaderText="%Failed" SortExpression="FailedRate" />
            </Columns>
        </asp:GridView>
     
    </div>
           <div id="formdiv2"  class="form-horizontal" >
        <div style="margin:33px auto auto auto;text-align:center; clear: both;width:1100px; height: 50px;" class="form-group"> 
          <asp:LinkButton ID="lnkbtnFrist" runat="server" OnClick="lnkbtnFrist_Click">首页</asp:LinkButton> 
        <asp:LinkButton ID="lnkbtnPre" runat="server" OnClick="lnkbtnPre_Click">上一页</asp:LinkButton> 
        <asp:Label ID="lblCurrentPage" runat="server"></asp:Label> 
        <asp:LinkButton ID="lnkbtnNext" runat="server" OnClick="lnkbtnNext_Click">下一页</asp:LinkButton> 
        <asp:LinkButton ID="lnkbtnLast" runat="server" OnClick="lnkbtnLast_Click">尾页</asp:LinkButton> 
跳转到第<asp:DropDownList ID="ddlCurrentPage" runat="server" AutoPostBack="True" OnSelectedIndexChanged="DropDownList1_SelectedIndexChanged" Width="55px"> 
        </asp:DropDownList>页
        </div>
               </div>
      <div style="margin: 6px auto auto auto; clear: both;width:1100px; height: 50px;font-family:微软雅黑;text-align:center;line-height:50px;" > 
        <asp:Button ID="ExportToExcel" runat="server" Text="导    出    到    Excel" OnClick="Button3_Click" Width="388px" Visible="False" CssClass="bluebuttoncss" Height="30px" />
        </div>
      <div id="fooder" class="foodercl foodermargin" >
      
       Copyright © 2015-2016 摩比天线（深圳）技术有限公司版权所有

     </div>  
</asp:Content>
